/*
 * @Author: jqgao2
 * @Date: 2022-10-25 10:09:28
 * @LastEditTime: 2022-10-25 10:10:02
 * @Description: 按需引入element
 * @FilePath: \vue2tem\src\plugins\element.js
 * @LastEditors: jqgao2
 */
import Vue from "vue";
import {
  Message,
  MessageBox,
  Select,
  DatePicker,
  Option,
  Input,
  Button,
  Tabs,
  TabPane,
  Table,
  TableColumn,
  Pagination,
  Loading,
} from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

Vue.use(Select);
Vue.use(DatePicker);
Vue.use(Option);
Vue.use(Input);
Vue.use(Button);
Vue.use(Tabs);
Vue.use(TabPane);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Pagination);
Vue.use(Loading);

Vue.prototype.$message = Message;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$ELEMENT = { size: "small" };
